﻿@model QuanLyGiaoVuUI.Models.GiangVienClient.DeTaiGiangVienClientViewModel
@{
    Layout = null;
}
<div id="gvclientmaincontent" class="block">
    <style>
        .chitietdetai td {
            padding: 10px;
        }
    </style>
    <div style="overflow: auto; max-height: 500px;">     
        <table class="data display datatable">
            <tr>
                <th class="sorting">STT</th>
                <th class="sorting">Tên Đề Tài</th>
                <th class="sorting">GVHD1</th>
                <th class="sorting">GVHD2</th>
                <th class="sorting">Đủ ĐK bảo vệ</th>
                <th class="sorting">Mô Tả</th>
                <th class="sorting">Tỉ lệ (%)</th>
            </tr>
            @{var count = 0; var stt = 1;}
            @foreach (var detai in Model.deTaiGiangVien)
            {
                <tr class="gradeA @(++count % 2 == 0 ? "even" : "odd")">
                    <td class="odd gradeX">@(stt++)</td>
                    <td class="odd gradeX">@detai.TenDeTai</td>
                    <td class="odd gradeX">@detai.GiangVien1.HoTenGV</td>
                    <td class="odd gradeX">@detai.GiangVien2.HoTenGV</td>
                    @if (detai.KhoaLuanTotNghiep > 0)
                    {
                        <td class="odd gradeX">Đã XN</td>   
                    }
                    else
                    {
                        <td class="odd gradeX">Chưa XN</td>
                    }
                    <td class="odd gradeX">@Html.Raw(detai.MoTa)</td>
                    <td class="odd gradeX">@detai.GhiChu (%)</td>
                </tr>
            }
        </table>
    </div>
</div>

